package com.test;

import android.app.Application;
import android.util.Log;

/**
 * Created by Administrator on 2015/9/28.
 */
public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
            @Override
            public void uncaughtException(Thread thread, Throwable ex) {
                Log.e("krik",ex.getMessage());
            }
        });
    }
}
